package com.egreen.pointsmall.exception;


import com.egreen.common.States;

/**
 * 积分商城异常处理
 */
public class PointsmallException extends RuntimeException{
    public PointsmallException(States states) {
        super(states.getDescription());
        this.states = states;
    }

    public States getStates() {
        return states;
    }

    public void setStates(States states) {
        this.states = states;
    }

    private States states;

}
